import Vue from 'vue'
import App from './App.vue'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import VueRouter from 'vue-router';
import {routes}  from './router/router';
import axios from 'axios';





Vue.use(MintUI);
Vue.use(VueRouter);
Vue.use(axios);

const router = new VueRouter({
  routes:routes, // 可以直接写成routes
  mode:'history' // mode设置成history，那么地址就可以请求
});

new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
